/*
 * @Author: master
 * @Date: 2022-04-06 14:26:20
 * @LastEditTime: 2022-04-06 15:06:34
 * @Description: layout
 */
const routes = [
  {
    name: 'layout',
    path: '/layout',
    redirect: '/layout/workbench',
    component: () => import('@path/view/layout/index.vue'),
    meta: {
      title: '示例',
      icon: 'icon-apps',
    },
    children: [
      {
        path: 'workbench',
        name: 'workbench',
        meta: {
          title: '工作台',
        },
        component: () => import('@path/view/layout/workbench/index.vue'),
      },
      {
        path: 'map',
        name: 'map',
        meta: {
          title: '地图',
        },
        component: () => import('@path/view/layout/map/index.vue'),
      },
    ],
  },
];
export default routes;
